package com.azusa.ktc_base.service;

import com.azusa.ktc_base.entity.City;
import org.springframework.data.domain.Page;

import java.util.List;

public interface CityService {

    List<City> findAll();

    /**
     * 查询标签分页
     * @param page
     * @param size
     * @return
     */
    Page<City> findPage(Integer page, Integer size);

    City save(City city);

    City findById(String id);

    void deleteById(String id);

    /**
     * 动态查询标签列表
     * @param city
     * @return
     */
    List<City> findSearch(City city);
}
